package com.udaos.models.ud;

import java.io.Serializable;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.One;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

import com.udaos.common.base.Model;
import com.udaos.models.customer.Ud_customer;
/**
* @author Wizzer.cn
* @time   2016-11-11 16:31:54
*/
@Table("ud_wx_user")
public class Ud_wx_user extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	private String openid;
	@Column
	private String company_id;
	@Column
	private String appid;
	@Column
	private String nickname;
	@Column
	private String headimage;
	@Column
	private String customer_id;
	@One(target = Ud_customer.class, field = "customer_id")
	private Ud_customer customer;
	@Column
	private String createby;
	@Column
	private Integer createat;
	public String getOpenid()
	{
		return openid;
	}
	public void setOpenid(String openid)
	{
		this.openid=openid;
	}
	public String getCompany_id()
	{
		return company_id;
	}
	public void setCompany_id(String company_id)
	{
		this.company_id=company_id;
	}
	public String getAppid()
	{
		return appid;
	}
	public void setAppid(String appid)
	{
		this.appid=appid;
	}
	public String getNickname()
	{
		return nickname;
	}
	public void setNickname(String nickname)
	{
		this.nickname=nickname;
	}
	public String getHeadimage()
	{
		return headimage;
	}
	public void setHeadimage(String headimage)
	{
		this.headimage=headimage;
	}
	public String getCustomer_id()
	{
		return customer_id;
	}
	public void setCustomer_id(String customer_id)
	{
		this.customer_id=customer_id;
	}
	public String getCreateby()
	{
		return createby;
	}
	public void setCreateby(String createby)
	{
		this.createby=createby;
	}
	public Integer getCreateat()
	{
		return createat;
	}
	public void setCreateat(Integer createat)
	{
		this.createat=createat;
	}

	public Ud_customer getCustomer() {
		return customer;
	}
	public void setCustomer(Ud_customer customer) {
		this.customer = customer;
	}
}